--[[/**
-- * 
 * 当莉莉攻击被鹰眼标记的敌人时 提升属性
-- *
-- */]]

---@class BuffEffect174100 : BaseBuffEffect
BuffEffect174100 = ClientFight.CreateClass("BuffEffect174100", ClientFight.BaseBuffEffect)
local t = BuffEffect174100

---@param fight Fight
---@param buff FighterBuff
function t:action(fight, buff, ...)
    local parameters = {...};
    local fighter =  parameters[1];
    if (fighter.fighterId ~= buff.source.fighterId) then
    return super.action(fight, buff, parameters);
    end

    local effectVal = buff.buffBean.f_BuffEffectValue;
    buffManager.addBuff(fight, buff.skill, buff.source, buff.source, false, effectVal[1], 1);

    SkillRoleMgr.savePathFile(string.format("[%s][EFFECT]Fighter %s触发鹰眼buff,%s提升属性",
    fight.frame, buff.target.fighterId, buff.source
    ));

    return ClientFight.BaseBuffEffect.action(self, fight, buff, ...);
end

t.New()